# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `rx_dsp.ice'

import Ice, IcePy, __builtin__

# Start of module AcornRxDsp
_M_AcornRxDsp = Ice.openModule('AcornRxDsp')
__name__ = 'AcornRxDsp'

if not _M_AcornRxDsp.__dict__.has_key('RxDsp'):
    _M_AcornRxDsp.RxDsp = Ice.createTempClass()
    class RxDsp(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornRxDsp.RxDsp:
                raise RuntimeError('AcornRxDsp.RxDsp is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornRxDsp::RxDsp', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornRxDsp::RxDsp'

        def ice_staticId():
            return '::AcornRxDsp::RxDsp'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def setMode(self, mode, current=None):
        # def setFilter(self, filter, current=None):
        # def setAgc(self, mode, current=None):
        # def setGain(self, gain, current=None):
        # def oscSet(self, freq, current=None):
        # def oscInc(self, inc, current=None):
        # def setRxOn(self, rx, current=None):
        # def setRxOff(self, rx, current=None):
        # def setRxListen(self, rx, current=None):
        # def setRxPan(self, pan, current=None):
        # def setBin(self, state, current=None):
        # def setNr(self, state, current=None):
        # def setNb(self, state, current=None):
        # def setAnf(self, state, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornRxDsp._t_RxDsp)

        __repr__ = __str__

    _M_AcornRxDsp.RxDspPrx = Ice.createTempClass()
    class RxDspPrx(Ice.ObjectPrx):

        def setMode(self, mode, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setMode.invoke(self, ((mode, ), _ctx))

        def setFilter(self, filter, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setFilter.invoke(self, ((filter, ), _ctx))

        def setAgc(self, mode, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setAgc.invoke(self, ((mode, ), _ctx))

        def setGain(self, gain, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setGain.invoke(self, ((gain, ), _ctx))

        def oscSet(self, freq, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_oscSet.invoke(self, ((freq, ), _ctx))

        def oscInc(self, inc, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_oscInc.invoke(self, ((inc, ), _ctx))

        def setRxOn(self, rx, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setRxOn.invoke(self, ((rx, ), _ctx))

        def setRxOff(self, rx, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setRxOff.invoke(self, ((rx, ), _ctx))

        def setRxListen(self, rx, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setRxListen.invoke(self, ((rx, ), _ctx))

        def setRxPan(self, pan, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setRxPan.invoke(self, ((pan, ), _ctx))

        def setBin(self, state, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setBin.invoke(self, ((state, ), _ctx))

        def setNr(self, state, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setNr.invoke(self, ((state, ), _ctx))

        def setNb(self, state, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setNb.invoke(self, ((state, ), _ctx))

        def setAnf(self, state, _ctx=None):
            return _M_AcornRxDsp.RxDsp._op_setAnf.invoke(self, ((state, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornRxDsp.RxDspPrx.ice_checkedCast(proxy, '::AcornRxDsp::RxDsp', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornRxDsp.RxDspPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornRxDsp._t_RxDspPrx = IcePy.defineProxy('::AcornRxDsp::RxDsp', RxDspPrx)

    _M_AcornRxDsp._t_RxDsp = IcePy.defineClass('::AcornRxDsp::RxDsp', RxDsp, (), True, None, (), ())
    RxDsp.ice_type = _M_AcornRxDsp._t_RxDsp

    RxDsp._op_setMode = IcePy.Operation('setMode', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    RxDsp._op_setFilter = IcePy.Operation('setFilter', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    RxDsp._op_setAgc = IcePy.Operation('setAgc', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    RxDsp._op_setGain = IcePy.Operation('setGain', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_int),), (), None, ())
    RxDsp._op_oscSet = IcePy.Operation('oscSet', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    RxDsp._op_oscInc = IcePy.Operation('oscInc', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    RxDsp._op_setRxOn = IcePy.Operation('setRxOn', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_int),), (), None, ())
    RxDsp._op_setRxOff = IcePy.Operation('setRxOff', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_int),), (), None, ())
    RxDsp._op_setRxListen = IcePy.Operation('setRxListen', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_int),), (), None, ())
    RxDsp._op_setRxPan = IcePy.Operation('setRxPan', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_int),), (), None, ())
    RxDsp._op_setBin = IcePy.Operation('setBin', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_bool),), (), None, ())
    RxDsp._op_setNr = IcePy.Operation('setNr', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_bool),), (), None, ())
    RxDsp._op_setNb = IcePy.Operation('setNb', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_bool),), (), None, ())
    RxDsp._op_setAnf = IcePy.Operation('setAnf', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_bool),), (), None, ())

    _M_AcornRxDsp.RxDsp = RxDsp
    del RxDsp

    _M_AcornRxDsp.RxDspPrx = RxDspPrx
    del RxDspPrx

# End of module AcornRxDsp
